﻿<UserControl x:Class="BTM_Client_Application.ZoomControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="50">

    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colours.xaml" />
                <ResourceDictionary Source="pack://application:,,,/Styles/UserControls.xaml" />
                <ResourceDictionary Source="pack://application:,,,/Styles/ButtonStyles.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
                <ResourceDictionary Source="pack://application:,,,/Styles/MyResources.xaml" />
                <ResourceDictionary Source="pack://application:,,,/Styles/MyBrushes.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>

    </UserControl.Resources>
    <Grid>
        <Slider Name="ZoomSlider" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Orientation="Vertical" Grid.RowSpan="2" 
                IsSnapToTickEnabled="True" Minimum="1" Maximum="8" TickFrequency="1" AutoToolTipPlacement="BottomRight" IsSelectionRangeEnabled="True" 
                ValueChanged="ZoomSlider_OnValueChanged" IsMoveToPointEnabled="True"/>
        
    </Grid>
</UserControl>
